package com.example.AIstudy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("liked")
public class Liked implements Serializable {

    //自增的主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //用户的ID
    @TableField("userID")
    private Integer userID;
    //套题的ID
    @TableField("prosetID")
    private Integer prosetID;

    //评论
    @TableField("comment")
    private String comment;
}
